/*
 * Copyright (C), 2014-2015, 杭州小卡科技有限公司
 * FileName: CicpCorpService.java
 * Author:   muxing
 * Date:    2015/10/20 16:52
 * Description:
 */
package com.xiaoka.ins.corp.common.factory;

import com.xiaoka.freework.help.api.ApiException;
import com.xiaoka.ins.corp.api.cicp.service.CicpService;
import com.xiaoka.ins.corp.common.dto.InsTypeParameter;
import com.xiaoka.ins.corp.common.dto.UserInfoParameter;
import com.xiaoka.ins.corp.common.dto.VehicleInfoParameter;
import com.xiaoka.ins.corp.common.dto.base.InsOutput;
import com.xiaoka.ins.corp.common.dto.base.InsResult;
import com.xiaoka.ins.corp.common.factory.base.AbstractInsCorpService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * CicpCorpService
 *
 * @author muxing
 * @date 2015/10/20
 */
@Service("cicpApiService")
public class CicpApiService extends AbstractInsCorpService {

	@Resource(name = "cicpService")
	CicpService cicpService;

	@Override
	public void doSomeThing() {
	}

	@Override
	public InsResult<InsOutput> getVehicleInfo(VehicleInfoParameter insParameter) throws ApiException {
		return null;
	}

	@Override
	public InsResult<InsOutput> getVehicleInsInfo(VehicleInfoParameter insParameter) {

		cicpService.findVehicleModel(insParameter);
		return null;
	}

	@Override
	public InsResult<InsOutput> vehicleInsTrial(InsTypeParameter insParameter) {
		return null;
	}

	@Override
	public InsResult<InsOutput> vehicleInsVerify(UserInfoParameter insParameter) {
		return null;
	}
}
